﻿<Page x:Class="Rifts.Creator.SelectRace"
	  xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
	  xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
	  xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
	  xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
	  mc:Ignorable="d" 
	  d:DesignHeight="300" d:DesignWidth="300"
	Title="Select Race">

	<StackPanel>
		<TextBlock Text="Select a Race" />
		<ItemsControl ItemsSource="{Binding Races}" DockPanel.Dock="Left" >
			<ItemsControl.ItemTemplate>
				<DataTemplate>
					<Button Margin="4" MinWidth="100" MinHeight="25" Content="{Binding Name}" Click="Button_Click" Padding="8,4,8,4"/>
				</DataTemplate>
			</ItemsControl.ItemTemplate>
		</ItemsControl>
	</StackPanel>

</Page>
